import axios from 'axios';

const api = axios.create({ baseURL: 'http://localhost:8000' });

export const saveWorkflow = (data) => api.post('/api/workflows', data);
export const runWorkflow = (id) => api.post(`/api/workflows/${id}/run`);
